﻿#region Imports
using System.ComponentModel;
using CommonUtilities.Attributes;
#endregion Imports

namespace TraktApiWrapper
{
    public enum eModule
    {
        [FriendlyName("movies")]
        Movie,
        [FriendlyName("shows")]
        Show,
        [FriendlyName("seasons")]
        Season,
        [FriendlyName("episodes")]
        Episode,
        [FriendlyName("people")]
        Person,
        [FriendlyName("")]
        Comment
    }

    //[AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
    //sealed class IdTypeAttribute : Attribute
    //{
    //    readonly string positionalString;
    //
    //    // This is a positional argument
    //    public IdTypeAttribute(string positionalString)
    //    {
    //        this.positionalString = positionalString;
    //    }
    //
    //    public string ID_type
    //    {
    //        get { return positionalString; }
    //    }
    //}

    public enum eSearchModule
    {
        [Description("Movies & Shows")]
        Dual,
        [Description("Movies")]
        [FriendlyName("movies")]
        Movie,
        [Description("Shows")]
        [FriendlyName("shows")]
        Show,
        [Description("Episodes")]
        [FriendlyName("episodes")]
        Episode,
        [Description("People")]
        [FriendlyName("people")]
        Person,

        [Description("IMDB ID")]
        [FriendlyName("imdb")]
        IMDB,
        [Description("TMDB ID")]
        [FriendlyName("tmdb")]
        TMDB,
        [Description("TVDB ID")]
        [FriendlyName("tvdb")]
        TVDB,
        [Description("TVRage ID")]
        [FriendlyName("tvrage")]
        TVRage
    }
}
